package com.hqyj.ssm_project.pojo;

public class User {
    private Integer userId;

    private Integer idcardId;

    private Integer detpId;

    private String userName;

    private String userPassword;

    private String userStatus;


    private String userSex;
    private Idcard idcard;
    private Detp detp;
    private Role role;

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Idcard getIdcard() {
        return idcard;
    }

    public void setIdcard(Idcard idcard) {
        this.idcard = idcard;
    }

    public Detp getDetp() {
        return detp;
    }

    public void setDetp(Detp detp) {
        this.detp = detp;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getIdcardId() {
        return idcardId;
    }

    public void setIdcardId(Integer idcardId) {
        this.idcardId = idcardId;
    }

    public Integer getDetpId() {
        return detpId;
    }

    public void setDetpId(Integer detpId) {
        this.detpId = detpId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus == null ? null : userStatus.trim();
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex == null ? null : userSex.trim();
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", idcardId=" + idcardId +
                ", detpId=" + detpId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userStatus='" + userStatus + '\'' +
                ", userSex='" + userSex + '\'' +
                '}';
    }
}